﻿import Router from 'vue-router'
import Adventure from "../Adventure_index.vue"
const ad_user_index = r => require.ensure([], () => r(require('../ad_user_index.vue')));
const full_Scroll = r => require.ensure([], () => r(require('../scroll_full.vue')));
const Adventure_visit = r => require.ensure([], () => r(require('../Adventure_index_visit.vue')));
const ad_list = r => require.ensure([], () => r(require('../ad_list.vue')));
const user_index = r => require.ensure([], () => r(require('../../user_index/app_user_index.vue')));
export default new Router({
  routes: [
    {
      path: '/',
      redirect:"/Adventure",
      meta: {
        //requireAuth: true,  // 添加该字段，表示进入这个路由是需要登录的
      },
      },
    {
        path: "/ad_list",
        component:ad_list
    },
    {
        path: "/ad_user_index",
        component: ad_user_index
    },
    {
        path: "/Adventure",
        component: Adventure
    },
    {
        path: "/full_Scroll",
        component: full_Scroll
    },
    {
        path: "/Adventure_visit",
        component: Adventure_visit
    },
    {
        path: "/user_index",
        component: user_index
    },
    ],
     
})
